#ifndef _UART_H
#define _UART_H

#include "s3c2440.h"

void uart_init(unsigned int pclk,unsigned int baudrate);
void putch(unsigned char ch);
void puts(unsigned char *str);
void send_hex(unsigned char inthex);
unsigned char getch(void);
unsigned char receive_hex(void);
void  gets(unsigned char *str);
void send_int(unsigned int inthex);
void comdownload(void);
#endif
